package hcn.protocol.registration.xml.resp;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @Author: lanyu
 * @Description:
 * @Date: create in 2023/2/23 17:35
 */
@XmlRootElement(name = "Data")
public class ExamAppointableDateXmlResp {

    private String SampleCollectAreaId;//预约队列代码
    private String SampleCollectAreaName;

    private List<ExamDateResp> datelists;

    @XmlElement(name = "SampleCollectAreaId")
    public String getSampleCollectAreaId() {
        return SampleCollectAreaId;
    }

    public void setSampleCollectAreaId(String sampleCollectAreaId) {
        SampleCollectAreaId = sampleCollectAreaId;
    }

    @XmlElement(name = "SampleCollectAreaName")
    public String getSampleCollectAreaName() {
        return SampleCollectAreaName;
    }

    public void setSampleCollectAreaName(String sampleCollectAreaName) {
        SampleCollectAreaName = sampleCollectAreaName;
    }

    @XmlElementWrapper(name = "Datelists")
    @XmlElement(name = "Datelist")
    public List<ExamDateResp> getDatelists() {
        return datelists;
    }

    public void setDatelists(List<ExamDateResp> datelists) {
        this.datelists = datelists;
    }

    @XmlRootElement(name = "Datelist")
    public static class ExamDateResp {
        private String AppointsVisitDateTime;
        private Integer AppointsValid;
        private Integer StopCollectFlag;
        private String StopCollectDescribe;
        private String DayOfTheWeek;
        private String AppointmentDate;

        @XmlElement(name = "AppointsVisitDateTime")
        public String getAppointsVisitDateTime() {
            return AppointsVisitDateTime;
        }

        public void setAppointsVisitDateTime(String appointsVisitDateTime) {
            AppointsVisitDateTime = appointsVisitDateTime;
        }

        @XmlElement(name = "AppointsValid")
        public Integer getAppointsValid() {
            return AppointsValid;
        }

        public void setAppointsValid(Integer appointsValid) {
            AppointsValid = appointsValid;
        }

        @XmlElement(name = "StopCollectFlag")
        public Integer getStopCollectFlag() {
            return StopCollectFlag;
        }

        public void setStopCollectFlag(Integer stopCollectFlag) {
            StopCollectFlag = stopCollectFlag;
        }

        @XmlElement(name = "StopCollectDescribe")
        public String getStopCollectDescribe() {
            return StopCollectDescribe;
        }

        public void setStopCollectDescribe(String stopCollectDescribe) {
            StopCollectDescribe = stopCollectDescribe;
        }

        @XmlElement(name = "DayOfTheWeek")
        public String getDayOfTheWeek() {
            return DayOfTheWeek;
        }

        public void setDayOfTheWeek(String dayOfTheWeek) {
            DayOfTheWeek = dayOfTheWeek;
        }

        @XmlElement(name = "AppointmentDate")
        public String getAppointmentDate() {
            return AppointmentDate;
        }

        public void setAppointmentDate(String appointmentDate) {
            AppointmentDate = appointmentDate;
        }
    }
}

